package routers

import (
	"github.com/gin-gonic/gin"

	v1 "application/api/v1"
)

func RegisterSecKillRouter(engine *gin.Engine) {
	secKill := engine.Group("/API/V1/SecKill")
	{
		//秒杀
		secKill.POST("/sell", v1.SecKill)
		//支付
		secKill.POST("/pay", v1.Pay)
	}
}
